package com.ayf.payment.game.api.entity;

import com.ayf.payment.game.api.entity.base.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Table;

@Table(name = "g_game")
public class Game extends BaseEntity {
    private static final long serialVersionUID = 1L;
    /**
     * 游戏名称
     */
    @Column(name = "game_name")
    private String gameName;

    /**
     * 游戏图标路径
     */
    @Column(name = "game_img_url")
    private String gameImgUrl;

    /**
     * 获取游戏名称
     *
     * @return game_name - 游戏名称
     */
    public String getGameName() {
        return gameName;
    }

    /**
     * 设置游戏名称
     *
     * @param gameName 游戏名称
     */
    public void setGameName(String gameName) {
        this.gameName = gameName;
    }

    /**
     * 获取游戏图标路径
     *
     * @return game_img_url - 游戏图标路径
     */
    public String getGameImgUrl() {
        return gameImgUrl;
    }

    /**
     * 设置游戏图标路径
     *
     * @param gameImgUrl 游戏图标路径
     */
    public void setGameImgUrl(String gameImgUrl) {
        this.gameImgUrl = gameImgUrl;
    }
}